/*
 * @Author: 白袂 1741866590@qq.com
 * @Date: 2023-09-04 10:56:47
 * @LastEditors: 白袂 1741866590@qq.com
 * @LastEditTime: 2024-04-18 00:43:04
 * @FilePath: \obj_system\src\main.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import Vue from 'vue'
import App from './App.vue'
import router from "./router"
import store from "./store/store"
import ElementUI from 'element-ui';
import axios from "axios"
import '@/style/font.css'  //字体

require("./mock")

// axios.defaults.baseURL = "http://localhost:3001/";
axios.defaults.baseURL = "http://localhost:3000/";
Vue.prototype.$http = axios

// import { 
//   Button,
//   Select,
//   Container,
//   Header,
//   Aside,
//   Main,
//   Footer,
//   } from 'element-ui';
import "element-ui/lib/theme-chalk/index.css"
import "./style/common.css"


// Vue.use(Button)
// Vue.use(Select)
// Vue.use(Container)
// Vue.use(Header)
// Vue.use(Aside)
// Vue.use(Main)
// Vue.use(Footer)
Vue.use(ElementUI);

Vue.prototype.$http = axios.create({
  baseURL: process.env.BASE_URL,
  headers: {
    'Content-Type': 'application/json'
  }
})

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
